import * as API from "../util/server";

import user from './system/user';
import dict from './system/dict';
import menu from './system/menu';
import role from './system/role';

import note from './study/note';
import article from './study/article';
import video from './study/video';

import file from './general/file';

export default {
  ...user,
  ...dict,
  ...menu,
  ...role,

  ...note,
  ...article,
  ...video,

  ...file,

  // 通用查询,用于封装表单提交
  requestCommonPost(url,param){ return API.POST(`${url}`,param)},
  // 通用查询,用于封装表单提交
  requestCommonGet(url,param){ return API.GET(`${url}`,param)},
  // 通用查询,用于封装表单提交
  requestCommonDelete(url,param){ return API.DELETE(`${url}`,param)},

}
